package com.yunfei.api.v2.user.valid;

import com.yunfei.api.common.contants.ApiValitationConstantMessage;
import com.yunfei.core.utils.contants.ValitationConstant;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.Pattern;

/**
 * @program: zntg_v1
 * @description:
 * @author: zhengyunfei
 * @create: 2018-10-30 10:48
 **/
@Data
public class VideoValid implements java.io.Serializable{


    @ApiModelProperty(value = "当前页码", required = true)
    @Pattern(regexp= ValitationConstant.NUM_REG, message= ApiValitationConstantMessage.PAGFE_NOW_NUM_REG)
    private String pageNow;
    @Pattern(regexp= ValitationConstant.NUM_REG, message= ApiValitationConstantMessage.PAGE_SIZE_NUM_REG)
    @ApiModelProperty(value = "每页显示条数", required = true)
    private String pageSize;
    @ApiModelProperty(value = "视频类型", required = false)
    private String video_typ;

    public String getVideo_typ() {
        return video_typ;
    }

    public void setVideo_typ(String video_typ) {
        this.video_typ = video_typ;
    }

    public String getPageNow() {
        return pageNow;
    }

    public void setPageNow(String pageNow) {
        this.pageNow = pageNow;
    }

    public String getPageSize() {
        return pageSize;
    }

    public void setPageSize(String pageSize) {
        this.pageSize = pageSize;
    }
}
